package com.ruoyi.jihuo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.jihuo.domain.JhSysTrafficRecord;
import com.ruoyi.jihuo.domain.TrafficCount;

import java.util.List;

public interface JhReportMapper extends BaseMapper<TrafficCount> {

    public List<TrafficCount> trafficDaily(Long jhUserId);

    public List<TrafficCount> trafficWeekly(Long jhUserId);

    public List<TrafficCount> trafficMonthly(Long jhUserId);

    public List<TrafficCount> getTodayTraffic(Long jhUserId);

    public List<TrafficCount> getThisWeekTraffic(Long jhUserId);

    public List<TrafficCount> getThisMonthTraffic(Long jhUserId);

    public List<JhSysTrafficRecord> getTodaySales();

    public List<JhSysTrafficRecord> getThisWeekSales();

    public List<JhSysTrafficRecord> getThisMonthSales();

}
